package com.sunchangpeng.wechat.mp.menu.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.sunchangpeng.wechat.mp.user.bean.Gender;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Rule {
    //matchrule共六个字段，均可为空，但不能全部为空，至少要有一个匹配信息是不为空的

    @JSONField(name = "tag_id")
    private String tagId;

    @JSONField
    private Gender sex;

    //客户端版本，当前只具体到系统型号：IOS(1), Android(2),Others(3)，不填则不做匹配
    @JSONField(name = "client_platform_type")
    private String platform;

    private String country;
    private String province;
    private String city;
    private String language;
}
